My javascript code is not working for the jotform?