Added missing semicolon to JS return statement