Adds jquery for local test
Adds fromDocument api
Bumps version to 0.4.0