added $name argument to add() function in engine_interface and related classes
also added argument to css() and js() in engine_head class