Added test to see what javascript is doing.