removed harcoded stuff from js