silly JS syntax errors fixed