Removing unnecessary js includes from layout