client side javascript for fmadserving.dk