added functionality for including js and css files for engines