Add JS and PHP new functions