added direct script injection (from sprockets)