Updated JS for proper appending and ordering of masks and images, also fixed Issue #1 and Issue #2
Merge branch 'JS-work' of https://github.com/ThrivingKings/imanpr into JS-work