Fixed loginform.js wrong function call