adds bind() function to js api
dont complain about missing config file if one exists