CEntralization of javascript files