fix empty()
add r.js task

Conflicts:
	package.json