Uses a simple random number generator to determine if the prompt can be triggered.

This allows the site owner/manager to determine if there are application specific criteria that must be met before the user can be prompted to add to homescreen. For example the user must be authenticated or meet a certain score or threshold.