added client side ejs script and neccessary change to pre_merge so it isnt hinted