Finished all the javascript inheritance code just need to clean it up.