Add javascript support