Adjust support for javascript.