Successful Fix made in JS - time calculated!