Android : Send events from Android to Javascript ( BOOT_COMPLETED )

I want to run a piece of javascript when the Android system is booted up.

I thought of registering a receiver in Android for the boot completed event and trigger a call in the javascript. But, I could not find any thing in the documents that talks about sending an event from Android to javascript.

Any suggestions?