Fixing js hint on places