initial tests for js
finished ajax testing