Restore javascript that changes ci options

- I got a little agressive when deleting. This is needed for setting
  jenkins, TDD, travis options etc. in the project form