Fixing js logic