adjusted feature file creation and added js-detection