added .js file and modified .module and .inc file