remove old Javascript files and clear load path for old JS