Add support for javascript