Fixing js hint fails