refactor as bookmarklet

Signed-off-by: James <james@astonishdesign.com>
refactor as bookmarklet

Signed-off-by: James <james@astonishdesign.com>