Common frontend based on jQuery and requireJS