Updates to MortarJS for performance and adjustments where resources are found