Defined entry point for js