clean needless javascript inclusion