add js build to prepare command