fixed me js statements bug and reverted js and css - not working correctly with base page