Made changes to always load javascript via HeadJS