seperate -static and -js so they work together