Added Javascript support, deprecated PHP support