better layout for extra packages and removal of useless JS