Online Test tool using php and javascript (with design)