clean up dependencies, don't depend on JS