JSLint and code tidy
Fix spelling of allotted_time