javascript not cooperating... post getting to routes but not updating page