base layout via require js