oops, null view check was after jQuery check