Adding required client side javascript and libraries