Add javascript support.