Fixed issue with calling javascript functions