Fixed javascript dependencies for admin section