Rename files according to common javascript filename naming convention