Update loadingMask.js

removed hide() and replaced with remove() to correctly remove mask from DOM. Also deleted else statement after :visible check