Linting on timePicker tests

changed ‘==’ to ‘===’
added missing semi-colons
removed unnecessary commas
prevented redeclarations of vars