fixed some spacing in Javascript files