Inject functions without saving to file, page evaluate javascript errors