Fixed and test customer init javascript, removed set of timeout since that is not permitted on synchronous requests.
Updated inline documentation