Fixed function reference and disabled all JS