Converted all remaining src js files to AMD modules