rearranged js and added sphinx to dev requirements