Added optional js loader to base view / master