creating a php class for loading javascript from bower_components