Revised admin loader - handled extension type for php js scripts