server side js fun coded