fixing js