putting js libraries in header