check if passwort_crypt is empty, fixes #84
fixed code style
updated jquery
updated api, fixed whitespace and null checks