Refactored JS and fade out future mask.