Removed javascript functions