fix scripts for internal use (bower)