Adding javascript resources