javascript microchange