JavaScript/PHP framework