Removing padding from javascript