added paypal and fixed javascript