adds javascript as an option