Hi Marc,
Yes it's ok to move this section, to avoid code duplication.
functions.js is cached in the browser so the downside of increased size
is minimal.
I did the changes and pushed to the repo. Please check that. Thank you.
Regards,
Thilanka.
--
L G Thilanka Kaushalya
Computer Science & Engineering,
University of Moratuwa,
Sri Lanka
Connect with me at,
Gmail : lgtkaushalya@gmail.com
Twitter : @thilanka_k
Facebook : Thilanka Kaushalya
Yahoo : lgtkaushalya@yahoo.com
Blog :
http://coders-view.blogspot.com/