better parameter checking for /ajax/post/update
ajax check for all /ajax/post/:func
Merge branch 'master' into rewrite-javascript