Moved script files to fix js bug based on extending from base