Fix ClientSide variable inside payload, add jsonify script and expose vendor folder