Resources manager - jQuery plugin