Javascript updates

testing and javascript/ajax usage