Add support fot javascript