started fixing js