Add JS support, deprecate PHP support