styles / scripts optimisation for portal