Adding javascript and css libraries for a doctype using custom script