Update init() function call. Prevent base JS file from loading twice.