correct dir for js assets