add Javascript resources